计算机与现代化 ›› 2013, Vol. 1 ›› Issue (9): 66-70,7.doi: 10.3969/j.issn.1006-2475.2013.09.016

• 软件工程 • 上一篇    下一篇

基于R-OSGi的平台容错架构设计与实现

黄 晗   

  1. 泉州师范学院物理与信息工程学院,福建 泉州 362000
  • 收稿日期:2013-04-08 修回日期:1900-01-01 出版日期:2013-09-17 发布日期:2013-09-17

Design and Implementation of Fault-tolerant Architecture Based on R-OSGi

HUANG Han   

  1. School of Physics and Information Engineering, Quanzhou Normal University, Quanzhou 362000, China
  • Received:2013-04-08 Revised:1900-01-01 Online:2013-09-17 Published:2013-09-17

摘要: 容错是实现普适计算的可靠性和可用性的重要手段。由于OSGi标准缺乏对容错功能的支持,本文提出一种支持R-OSGi的容错架构。它不用修改原来R-OSGi的实现代码与框架,充分使用R-OSGi和OSGi框架提供的一些机制和服务来进行容错,容错后对外提供相同的服务。通过分析容错框架核心部件复制管理器的容错代理、容错步骤和状态的维护以及其它相关部件,得出该容错架构能满足需要容错的功能和服务的三要素,该架构可支持快速、高效地开发基于容错的应用系统。实验表明该方法切实可行,能满足远程通信的容错需求,有良好的实用价值。

关键词: 容错, 普适计算, R-OSGi, ftrosgi, 代理

Abstract: Fault-tolerant is a key method to implement reliability and availability in pervasive computing. The OSGi standard lacks support for fault-tolerant. This article suggests a fault-tolerant architecture supporting R-OSGi. It does not modify the original R-OSGi implementation code and framework, makes full use of the R-OSGi and OSGi framework mechanisms and services to provide the same fault tolerance service for external. By analyzing the fault-tolerant agent, fault-tolerant steps, state maintenance and other related components of the core component replication manager in fault-tolerant framework, it approaches to conclude that the fault-tolerant architecture can meet the needs for three elements of fault tolerance features and services, which enables fast, efficient development of applications based on fault-tolerant systems. The experiments show that the method can meet the remote communication fault-tolerant requirements and is of good practicality.

Key words: fault-tolerant, pervasive computing, R-OSGi, ftrosgi, proxy

中图分类号: